%define commit a4c584c8e36a8953d0bd9f1ac6ffe7f7482717fe
%define commit_short %(echo %{commit} | head -c6)

Summary(ru_RU.UTF-8): Обои для ИСПП
Summary:	Wallpapers for ISPP
Name:		ispp-wallpaper-pack
Version:	1.0
Release:	2.git%{commit_short}.2
License:	GPLv3
Group:		Graphical desktop/KDE
Url:		https://os.mos.ru
Source0:	https://hub.mos.ru/mos/src/%{name}/-/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch:	noarch

%description
%summary.

%description -l ru_RU.UTF-8
Обои для системы в окружении KDE от ИСПП

%files
%license LICENSE
%{_datadir}/wallpapers/MOS-*

#------------------------------------------------------------------

%prep
%autosetup -p1 -n %{name}-%{commit}

%install
mkdir -p %{buildroot}%{_datadir}/wallpapers
cp -r MOS-* %{buildroot}%{_datadir}/wallpapers
